#!/bin/bash
for usr in $(cut -d: -f1 /etc/shadow); do [[ $(chage --list $usr | grep '^最近一次密码修改时间' | cut -d: -f2) > $(date) ]] && echo "$usr :$(chage --list $usr |grep '^Last password change' | cut -d: -f2)"; done
